package TTEST;
import Files.File_;
public class ReadCommandsThread extends Thread{
    private boolean endwork=false;
    public void setEndWork(){
            endwork=true;
    }
    public ReadCommandsThread(){}
    public void run(){

            while(!endwork)
            try{
                    Thread.sleep(2000);
                    File_.onlyReadFile(0);
                    File_.onlyReadFile(1);
            }
            catch(Exception e){}
    }
}
